package com.xuchen.zhenyang.service.impl;

import com.xuchen.zhenyang.entity.ReturnBase;
import com.xuchen.zhenyang.mapper.ReturnBaseMapper;
import com.xuchen.zhenyang.service.ReturnBaseService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 退货单 服务实现类
 * </p>
 *
 * @author xuchen
 * @since 2019-02-17
 */
@Service
public class ReturnBaseServiceImpl extends ServiceImpl<ReturnBaseMapper, ReturnBase> implements ReturnBaseService {

    @Override
    public void updateTotalMoney(Integer returnBaseId) {
        this.baseMapper.updateTotalMoney(returnBaseId);
    }

    @Override
    public void updateGoodsCountForDel(Integer returnBaseId) {
        this.baseMapper.updateGoodsCountForDel(returnBaseId);
    }
}
